//---------------------------------------------------------------------------
#ifndef evalH
#define evalH
//---------------------------------------------------------------------------
#define TK_UNKNOWN -1
#define TK_EOF 0
#define TK_PLUS 1
#define TK_MINUS 2
#define TK_STAR 3
#define TK_SLASH 4
#define TK_LPAREN 5
#define TK_RPAREN 6
#define TK_FUNCTION 7
#define TK_CONST 8

#define BUFSIZE 256

int GetNextToken(double *);
void UngetToken(void);
double EvalExpr(char *);
double AdditiveExpr(void);
double AdditiveExpr1(double);
double MultiplicativeExpr(void);
double MultiplicativeExpr1(double);
double UnaryExpr(void);
double PrimaryExpr(void);

#endif
